// Created by Administrator on 2015/11/27.

div.wrapper-summary(ng-controller='person_header')
    div.container(style="position:relative; padding-top:15px;padding-bottom:15px;height:100%")
        div.wrapper-portrait
            a(href='/user/#{user.nick}'): img(src="#{user.portrait}" width=100 height=100)
        div.nick #{user.nick}的厨房
        div: img(src='#{user.gender?"/images/male.png":"/images/female.png"}' width=20 height=20)
        if(login_user && login_user.id === user.id)
            a.common.setting-info(href="/user/private/#{user.nick}/update/info") 设置个人资料
        div.wrapper-panel
            ul.horizontal-menu
                if(login_user && login_user.id!=user.id)
                    if(!considered)
                        li: button.btn.btn-xs.btn-danger(ng-click='consider("#{user.nick}", $event)') 关注
                    else
                        li: button.btn.btn-xs.btn-danger(disabled='true') 已关注
                li.fuck
                    div.text-center 关注
                    div.text-center #{user.focusCount}
                li.vertical-separate
                li.fuck
                    div.text-center 粉丝
                    div.text-center #{user.fansCount}